package com.own.core.html.form.textArea;



import org.apache.wicket.model.IModel;

import com.own.core.util.OwnPatternValidator;


public class OwnTextArea extends org.apache.wicket.markup.html.form.TextArea {

	TextArea textare; 
//	public OwnTextArea(String id) {
//		super(id);
//
//	}
//	public OwnTextArea(String id, IModel  model) {
//		super(id,model);
//	 
//
//	}
	public OwnTextArea(String id, IModel  model,TextArea textare) {
		super(id,model);
		this.textare=textare;
		this.add(new OwnPatternValidator( textare.validate()));

	}
}
